const mySocket = function mysocket(socket) {
  socket.emit('news', {
    hello: 'world'
  })
  socket.on('my other event', function (data) {
    console.log(data)
  })
}
module.exports = mySocket